package com.itheima.service;

import com.github.pagehelper.PageInfo;
import com.itheima.entity.Movies;

import java.util.List;


public interface MovieService {
    PageInfo<Movies> findByPage(int pageNum, int pageSize, Integer cid, String keyword);

    Movies findById(Integer id);

    List<Movies> findAll();

    void save(Movies movies);

    void update(Movies movies);

    void deleteById(Integer id);

    void deleteBatch(Integer[] ids);

    void setMovieToBanner(Integer id);
}